package edu.fit5046.mymonashmate.utils;

import android.content.Context;
import android.location.Location;
import android.location.LocationManager;

public class Utils {
	static public Location getLocation(Context context) {
		LocationManager locationManager = (LocationManager) context.getSystemService(Context.LOCATION_SERVICE);
		return locationManager.getLastKnownLocation(LocationManager.NETWORK_PROVIDER);

	}
}
